// const db = require('../dbBase/db');
const Sequelize = require('sequelize');
var sequelize = require('./../dbBase/index');
const pets = sequelize.define('pets', {
    id: {
        type: Sequelize.INTEGER,
        primaryKey: true,       //主键
        autoIncrement: true,    //自增
        comment: "自增id"       //注释:只在代码中有效
    },
    label: {
        type: Sequelize.STRING
    },
});

// pets.sync({
//     force: true
// });
module.exports = pets